/**
 * Created by Administrator on 2016/9/6.
 */
define(['jquery'],function(){
    $(function(){
        var sub=$('#subject');
        sub.click(function(e){

            sub.val('');
            //以下是清除冒泡
            var ev = e || window.event;
            if(ev.stopPropagation){
                ev.stopPropagation();
            }
            else if(window.event){
                window.event.cancelBubble = true;//兼容IE
            }
            $(document).click(function(){
                var sub=$('#subject');
                sub.val('88包邮,轻松逛超市');
            })
        })
    })
});
